<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Cerberus - Login</title>
	<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />
	<link href="app.view/css/login.css" rel='stylesheet' type='text/css' />
    <script src="app.view/js/jquery.js" type="text/javascript"></script>  
            <script type="text/javascript" src="app.view/js/jquery.validate.js"></script>
            <script type="text/javascript" src="app.view/js/valida.js"></script>
            <script type="text/javascript" src="app.view/js/jquery.mask.js"></script>
            <?php
            if (isset($_GET['erro'])){
                $erro = $_GET['erro'];
                        
                switch ($erro):
                case 1:
                  echo '<div class="sucesso">Você fez logoff do sistema.</div>';
                break;
                case 2:
                  echo '<div class="erro">Dados incorretos ou usuário inativo.</div>';
                break;
                case 3:
                  echo '<div class="erro">Faça o login antes de acessar a pagina solicitada.</div>';
                break;
                endswitch;
            }
        	?>

    
</head>
<body>
	<div id="login" class="bradius">
		<div class="mensage">
			<div class="logo"><img src="app.view/imagens/logo.png" width="180" height="100" alt="Cerberus"></div>
			<div class="acomodar">
				<form id="flogin" action="verifica_login.php" method="post">
					<label>Nome: </label><input id="usuario" type="text" class="txt bradius" name="usuario" value="" />
					<label>Senha: </label><input id="senha" type="password" class="txt bradius" name="senha" value="" />
					<input type="submit" class="sb bradius" value="Entrar">
				</form>
			</div>
		</div>
	</div>
</body>
</html>